﻿using System;
using System.Linq.Expressions;
using System.Reflection;

namespace IInject.Registration
{
	/// <summary>
	/// 
	/// </summary>
	/// <typeparam name="TFrom"></typeparam>
	/// <typeparam name="TTo"></typeparam>
	//public class ToContextBuilder<TFrom, TTo> : FromContextBuilder<TFrom>, IContextBuilder<TFrom, TTo> where TTo : TFrom
	//{
	//    /// <summary>
	//    /// 
	//    /// </summary>
	//    /// <param name="container"></param>
	//    public ToContextBuilder(IContainer container) : base(container)
	//    {
	//        ToType = typeof(TTo);
	//    }

	//    /// <summary>
	//    /// 
	//    /// </summary>
	//    /// <param name="propExpression"></param>
	//    /// <returns></returns>
	//    public IContextBuilder<TFrom, TTo> Inject(Expression<Func<TTo, object>> propExpression)
	//    {
	//        return (IContextBuilder<TFrom, TTo>)Inject<TTo>(propExpression);
	//    }
	//}
}
